import { IsString, IsArray, IsNotEmpty, IsEnum, IsOptional } from 'class-validator';
import { ContentType } from '../entities/content.entity';

export class UpdateContentDto {
  @IsString()
  @IsOptional()
  title?: string;

  @IsEnum(ContentType)
  @IsOptional()
  type?: ContentType;

  @IsArray()
  @IsOptional()
  items?: string[];

  @IsArray()
  @IsOptional()
  tags?: number[];
}